/***********************************************************************
  * @����˵����
  * @���ߣ�
  * @���ڣ�
  * @����ָ����wiki.stduino.com
  ***********************************************************************/
/* Define to prevent recursive inclusion -------------------------------------*/
#ifndef __LCD12864_H 
#define __LCD12864_ H 
#include "Stduino.h"

//****************************************************
//****************************************************

class Lcd12864
{
private:
 int delaytime;
 int clockPin;//EN  
 int dataPin; //RW
 int latchPin;//RS/CS,
 int psbPin;

 void WriteByte(int dat);//�����ֽ�
 void WriteCommand(int CMD);
 void WriteData(int CMD);
public:
 void initial(int CLOCK,int DATA,int LATCH,int PSB);//��ʼ������
 void clean(void);
 //void Clean(int X,int Y,int Num);
 void DisplayString(int X,int Y,String ptr);

 void DisplaySig(int M,int N,int sig);
 //void DrawFullScreen(unsigned char *p);
 //void ShowString(uint8_t,uint8_t,String);
 //void ShowDouble(int,int,double);
 //void ShowInt(int,int,int);
};














#endif /*__XXX_XXX_H */